import request from '@/utils/request'
import {
  PageResultJobInfoVo,
  DeepRequired,
  JobPageQuery,
} from '../../interface'

/**
 * 管理员获取职位分页
 * /job/other/more
 */
export function getJobOtherMore(params: GetJobOtherMoreParams) {
  const paramsInput = {
    ...params.jobPageQuery,
  }
  return request.get<DeepRequired<PageResultJobInfoVo>>(`/job/other/more`, {
    params: paramsInput,
  })
}

interface GetJobOtherMoreParams {
  jobPageQuery: JobPageQuery
}
